package com.villaday.idf.adapter3;

import android.content.Context;
import android.text.TextUtils;

import com.villaday.idf.R;
import com.villaday.idf.base.AbsRecyclerViewAdapter;
import com.villaday.idf.model.Cities_areasEntity;
import com.villaday.idf.model3.DataEntity;

public class AddressPopularAdapter extends AbsRecyclerViewAdapter<String> {

    public AddressPopularAdapter(Context context) {
        super(context, R.layout.item_bourn_head_addr_sort);
    }

    @Override
    public void onBindHolder(AbsRecyclerViewAdapter.RecyclerViewHolder holder, String d, int position) {
        holder.bindTextView(R.id.tv_city, TextUtils.isEmpty(d) ? "全部" : d);
    }
}
